import $http from "@/utils/request";
//注册
export function userRegister(data) {
	return $http.get('/user_app/add_user', {
		params: data
	}, {
		custom: {
			auth: false
		}
	})
}
//登录
export function userLogin(data) {
	return $http.get('/user_app/login', {
		params: data
	}, {
		custom: {
			auth: false
		}
	})
}
//注销用户
export function deleteUser(data) {
	return $http.get('/app_user/delete', {
		params: data
	}, {
		custom: {
			auth: false
		}
	})
}
//修改性别
export function updateSex(data) {
	return $http.get('/app_user/update/sex', {
		params: data
	}, {
		custom: {
			auth: false
		}
	})
}
//获取验证码
export function sendSms(data) {
	return $http.get('/user_app/send_sms', {
		params: data
	}, {
		custom: {
			auth: false
		}
	})
}
//修改密码
export function updataPassword(data) {
	return $http.get('/user_app/updata/pass', {
		params: data
	}, {
		custom: {
			auth: false
		}
	})
}